package com.example.app.api.userinfo.bean;


import com.example.app.base.BaseBean;

/**
 * @Author : lichong
 * @description :
 * @Date Create in 13:38 2019/3/9
 * @Modified By : 创建该实体的作用是能够序列化redis里登录的用户信息
 **/
public class User extends BaseBean {
    private static final long serialVersionUID = 8846015870655603575L;
    private Integer userId;
    //socket sessionId
    private Long sessionId;
    private Integer orgId;
    private String openId;
    private String userName;
    private String realName;
    private String jobNum;
    private String phoneNum;
    private String secretKey;
    private Integer roleId;
    private String roleCode;
    private int ifSendMsg;

    public int getIfSendMsg() {
        return ifSendMsg;
    }

    public void setIfSendMsg(int ifSendMsg) {
        this.ifSendMsg = ifSendMsg;
    }

    public Long getSessionId() {
        return sessionId;
    }

    public void setSessionId(Long sessionId) {
        this.sessionId = sessionId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getJobNum() {
        return jobNum;
    }

    public void setJobNum(String jobNum) {
        this.jobNum = jobNum;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }
}
